<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-InfoList" content="text/html; charset=UTF-8">
<title>生成资讯列表HTML</title>
<#include "../include/base.ftl">
<script type="text/javascript" src="style/web/js/make.js?v=${version}"></script>
</head>
<body>
	<div class="easyui-layout" style="width:1300px;margin-left:2%;"> 
		<form id="makeInfoListForm" action="makehtml/infoList" method="post" enctype="multipart/form-data">
		<table class="easy add-box" style="width:100%;">
			<tr>
				<th class="left">更新资讯列表HTML：</th>
			</tr>
			<tr>
				<td class="left">
					<span class="label">指定站点：</span>
					<select id="siteid" class="easyui-combobox add-input" name="siteid" editable="false" url="commonApi/site" textField="name" valueField="id" data-options="required:true,validInfoList:'comboxRequired'"></select>
				</td>
			</tr>
			<tr>
				<td class="left">
					<span class="label">发布日期：</span>
					<input type="text" id="pubdate" name="pubdate"  class="easyui-datebox add-input" data-options="editable:false,buttons:dateButtons"/>
				</td>
			</tr>
			<tr>
				<td class="left">
					<span class="label wid100">PC更新||移動：	</span>
					<input type="radio" name="makechoose" id="makechoose" value="1" checked="checked"/>PC&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" name="makechoose" id="makechoose" value="2"/>移動
				</td>
			</tr>
			
			
			<tr>
				<td class="left">
					<span class="label">分页大小：</span>
					<input type="text" id="pagesize" name="pagesize" value="20" class="easyui-textbox add-input wid100"/>每页显示条数
				</td>
			</tr>
			
		</table>
		</form>
		<div style="margin-top:20px;width:100%;text-align: center;" id="submitBox">
			<a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-redo" onclick="javascript:makeInfoList();">开始生成HTML</a>
			&nbsp;&nbsp;&nbsp;&nbsp;
		</div>
		<table class="easy add-box" style="width:100%;margin-top:20px;">
			<tr>
				<th class="left">进行状态：</th>
			</tr>
			<tr>
				<td id="makeInfoListLog">
				</td>	
			</tr>
		</table>
	</div>
</body>
</html>

